<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			window.onload = function(){
				console.log(history.length);
			}
		</script>
	</head>
	<body>
		<a href="2.html">跳转到2.html</a>
	</body>
</html>
